package org.hydrakyoufeng.stuplatform.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class CourseDTO {
    private Integer id;

    @NotBlank(message="手机号码不能为空")
    private String name;

    private String cover;

    private Integer price;

    @NotNull(message="付费类型不能为空")
    private Integer paid_type;

    @NotBlank(message="讲师名称不能为空")
    private String lecturer;

    @NotBlank(message="类别不能为空")
    private String category;

    private String description;

    private Integer creator_by;

    private Integer update_by;

    private Integer status;

}
